package school.mapper;

import school.domain.News;

import java.util.List;

public interface NewsMapper {

    void insert(News news);

    List<News> selectList(News news);

    News selectById(Integer id);

    void delById(Integer id);
}
